package diutils

import (
	"gitee.com/ichub/goconfig/common/base/baseiface"
	"gitee.com/ichub/goconfig/common/basedi"
)

const single_nameDiUtils = "DiUtils"

// init
// register
// load
func init() {
	registerBeanDiUtils()
}

// register DiUtils
func registerBeanDiUtils() {
	basedi.RegisterLoadBean(single_nameDiUtils, LoadDiUtils)
}

func FindBeanDiUtils() *DiUtils {
	return basedi.FindBean(single_nameDiUtils).(*DiUtils)
}

func LoadDiUtils() baseiface.ISingleton {
	return NewDiUtils()
}
